projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a46a619
)
Avoid invalid read syntax errors due to 'ert-with-test-buffer'
author
Gemini Lasswell
<gazally@runbox.com>
Sat, 4 Feb 2017 11:18:29 +0000
(13:18 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 4 Feb 2017 11:18:29 +0000
(13:18 +0200)
* lisp/emacs-lisp/ert-x.el (ert-with-test-buffer): Fix the
'declare' form. (Bug#24722)
lisp/emacs-lisp/ert-x.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/ert-x.el
b/lisp/emacs-lisp/ert-x.el
index 7d99cb3027496448212f356ccd8e3935e3569d93..8530253d5b498c14c689c8fdbf397925240c843d 100644
(file)
--- a/
lisp/emacs-lisp/ert-x.el
+++ b/
lisp/emacs-lisp/ert-x.el
@@
-97,7
+97,7
@@
To be used in ERT tests. If BODY finishes successfully, the test
buffer is killed; if there is an error, the test buffer is kept
around on error for further inspection. Its name is derived from
the name of the test and the result of NAME-FORM."
- (declare (debug ((form) body))
+ (declare (debug ((
":name"
form) body))
(indent 1))
`(ert--call-with-test-buffer ,name-form (lambda () ,@body)))